﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WithoutEasyValPage.aspx.cs" 
Inherits="easyval.web.demo.WithoutEasyValPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Easy Val web demo</title>

<script type="text/javascript" src="/inc/js/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="/inc/js/jquery.metadata.js"></script>
    <script type="text/javascript" src="/inc/js/easyval.util.js"></script>
    <script type="text/javascript" src="/inc/js/Demo.js"></script>
    <script type="text/javascript" src="/inc/js/jquery.validate-1.6.js"></script>
    
    <style type="text/css">
        body{font-family:verdana;font-size:10pt;}
        .error{color:red}
        .errror-label{color:Red;}
        .grayborder{border:solid 1px lightgray}
        #tblEmployee th{text-align:right;color:#484848;font-weight:bold;width:15%;}
        #tblEmployee td{width:90%;text-align:left;}
        input {margin:1px;margin-right:7px;}
    </style>
</head>
<body>
    <form id="aspnetForm" runat="server">
    <center>
    <img src="inc/img/easyval_logo_50.png" />
    <div style="width:850px;padding:4px;margin:4px;padding:10px">
        <div class="moduleFrame grayborder" style="margin:3px;padding:10px" >
            <table id="tblEmployee">
            <tr>
                <th>First Name</th>
                <td><asp:TextBox ID="txtFirstName" runat="server"/></td>
            </tr>
            <tr>
                <th>Email</th>
                <td><asp:TextBox ID="txtEmail" runat="server"/></td>
            </tr>
            <tr>
                <th>Desired Salary</th>
                <td><asp:TextBox ID="txtDesiredSalary" runat="server" /></td>
            </tr>  
            <tr>
                <th>Phone</th>
                <td><asp:TextBox ID="txtPhone" runat="server" /></td>
            </tr> 
            </table>
            <br />
            <asp:Button ID="btnSaveEmployee" runat="server" Text="Save" OnClientClick="return isModuleValid(this);" OnClick="btnSave_Click" />
            <asp:Button ID="btnSaveBypass" runat="server" Text="Save - Bypass client validation" OnClick="btnSave_Click" />
        </div>

        <br />
        <asp:Panel style="text-align:left" ID="panelFeedback" runat="server">
            <asp:Label ID="lblSubmitted" runat="server"></asp:Label>
            <asp:Label ID="lblServerErrors" runat="server" class="error"></asp:Label>
        </asp:Panel>
    </div>
    
    </center>
    </form>
</body>
</html>
